package com.toycloud.system.mapper.feedback;


import com.github.pagehelper.Page;
import com.toycloud.business.dto.params.FeedbackRecordSearchParams;
import com.toycloud.system.domain.feedback.FeedbackRecord;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author xqyang5
 * @Date 2024/9/18 18:16
 */
@Repository
public interface FeedbackRecordMapper {

    FeedbackRecord selectByPrimaryKey(Long id);

    Page<FeedbackRecord> selectByParams(FeedbackRecordSearchParams params);

    int deleteByPrimaryKey(long id);

    int updateById(FeedbackRecord existRecord);

    int insertSelective(FeedbackRecord feedbackRecord);

    int multiInsert(List<FeedbackRecord> feedbackRecordList);
}
